<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/view/conf/farmtag.tld" prefix="PF"%>
<%@ taglib uri="/view/conf/farmdoc.tld" prefix="DOC"%>
<!-- 如果是内容类型等于4小组首页，则在此处不提供任何操作功能 -->
<div style="padding: 2px;">
	<c:if test="${USEROBJ!=null}">
		<c:if test="${DOCE.audit.cuser==USEROBJ.id&&DOCE.audit.pstate=='3'}">
			<c:if test="${DOCE.doc.state=='2'}">
				<DOC:canWriteIsShow docId="${DOCE.doc.id}">
					<button type="button" id="editTopButtonId"
						class="btn btn-default  btn-xs">
						<span class="glyphicon glyphicon-envelope"></span>&nbsp;修改后提交审核
					</button>
				</DOC:canWriteIsShow>
			</c:if>
		</c:if>
	</c:if>
</div>
<script type="text/javascript">
	$(function() {
		$('#editTopButtonId').bind(
				'click',
				function() {
					window.location = basePath
							+ 'webfile/edit.do?docId=${DOCE.doc.id}';
				});
	});
</script>